﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="changepwd.aspx.cs" Inherits="qf_cms.admin.changepwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
	<link href="../styles/Site.css" rel="stylesheet" type="text/css" />
	<script src="../scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		function doSave() {
			if ($("#Password1").val() == "") {
				alert("新密码不能为空");
				return;
			}
			if ($("#Password1").val() != $("#Password2").val()) {
				alert("二次输入的密码不匹配");
				return;
			}
			form1.submit();
		}
	</script>
</head>
<body>
<div class="editFormTitle">修改密码</div>
    <form id="form1" runat="server">
    <div><table cellpadding="5"><tr><td>旧密码</td><td><input type="password" id="Password0" name="Password0" value="" /></td></tr><tr><td>新密码</td><td><input type="password" id="Password1" name="Password1" value="" /></td></tr><tr><td>重复新密码</td><td><input type="password" id="Password2" name="Password2" value="" /></td></tr></table>
	</div>
		<div style="padding-top:5px;"><input type="button" value=" 保存 " onclick="doSave()" /><span style="color:#ff0000;"><%=tip%></span></div>
    </form>
</body>
</html>
